﻿using AgileLabs.Dapper.FluentMap.Mapping;
using FocusCareer.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace FoucsCareer.EntitiyMap.Dapper
{
    public class EntityBaseMap<TEntity> : AgileEntityMap<TEntity>
  where TEntity : EntityBase
    {
        public EntityBaseMap()
        {
            Map(p => p.Id).ToColumn("id").IsKey();
        }
    }
}
